package com.qiguliuxing.dts.wx.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
public class WxCallbackRecord {
    private Long id;
    /** 应用ID*/
    private String appid;
    /** 商户号*/
    private String mchId;
    /** 设备号*/
    private String deviceInfo;
    /** 业务结果*/
    private String resultCode;
    /** 错误代码*/
    private String errCode;
    /** 错误代码描述*/
    private String errCodeDes;
    /** 用户标识*/
    private String openid;
    /** 用户是否关注公众账号*/
    private String isSubscribe;
    /** 交易类型*/
    private String tradeType;
    /** 付款银行*/
    private String bankType;
    /** 订单总金额，单位为分*/
    private String totalFee;
    /** 货币种类*/
    private String feeType;
    /** 现金支付金额订单现金支付金额*/
    private String cashFee;
    /** 现金支付货币类型*/
    private String cashFeeType;
    /** 代金券或立减优惠金额<=订单总金额，订单总金额-代金券或立减优惠金额=现金支付金额*/
    private String couponFee;
    /** 代金券或立减优惠使用数量*/
    private String couponCount;
    /** 代金券或立减优惠ID,$n为下标，从0开始编号*/
    private String couponIdN;
    /** 单个代金券或立减优惠支付金额,$n为下标*/
    private String couponFeeN;
    /** 微信支付订单号*/
    private String transactionId;
    /** out_trade_no*/
    private String outTradeNo;
    /** 商家数据包，原样返回{module:'',type:''}*/
    private String attach;
    /** 支付完成时间，格式为yyyyMMddHHmmss*/
    private String timeEnd;
    /** 系统模块名称(在attach中传输)*/
    private String attachModule;
    /** 系统模块中发起的类型(在attach中传输)*/
    private String attachType;
    /** 调用方ip*/
    private String remoteIp;
    /** 创建时间*/
    private Date createDate;
    /** 创建人*/
    private String createBy;
    /** 描述*/
    private String memo;

    @Override
    public String toString() {
        return "WxCallbackRecord{" +
                "id=" + id +
                ", appid='" + appid + '\'' +
                ", mchId='" + mchId + '\'' +
                ", deviceInfo='" + deviceInfo + '\'' +
                ", resultCode='" + resultCode + '\'' +
                ", errCode='" + errCode + '\'' +
                ", errCodeDes='" + errCodeDes + '\'' +
                ", openid='" + openid + '\'' +
                ", isSubscribe='" + isSubscribe + '\'' +
                ", tradeType='" + tradeType + '\'' +
                ", bankType='" + bankType + '\'' +
                ", totalFee='" + totalFee + '\'' +
                ", feeType='" + feeType + '\'' +
                ", cashFee='" + cashFee + '\'' +
                ", cashFeeType='" + cashFeeType + '\'' +
                ", couponFee='" + couponFee + '\'' +
                ", couponCount='" + couponCount + '\'' +
                ", couponIdN='" + couponIdN + '\'' +
                ", couponFeeN='" + couponFeeN + '\'' +
                ", transactionId='" + transactionId + '\'' +
                ", outTradeNo='" + outTradeNo + '\'' +
                ", attach='" + attach + '\'' +
                ", timeEnd='" + timeEnd + '\'' +
                ", attachModule='" + attachModule + '\'' +
                ", attachType='" + attachType + '\'' +
                ", remoteIp='" + remoteIp + '\'' +
                ", createDate=" + createDate +
                ", createBy='" + createBy + '\'' +
                ", memo='" + memo + '\'' +
                '}';
    }

}